Array of search objects (submitted to data source for record filtering).

<div class="definition">
    Array, default = []
</div>

When user executes a search the grid will generate the array of search objects. User can execute a search in a variety of ways:
by typing in global search field, selecting a field and typing search text, or clicking the "Search..." button and submitting a
multi-field search. Regardless of the way, the grid will generate the search array.
<div style="height: 10px"></div>

As a developer you can define initial searches during object creation:
<textarea class="javascript">
let grid = new w2grid({
    name    : 'grid',
    url     : 'server/side/path/to/records',
    columns: [
        { field: 'recid', text: 'ID', size: '50px' },
        { field: 'lname', text: 'Last Name', size: '30%' },
        { field: 'fname', text: 'First Name', size: '30%' },
        { field: 'email', text: 'Email', size: '40%' },
        { field: 'sdate', text: 'End Date', size: '120px' }
    ],
    records: [
        { recid: 1, fname: 'John', lname: 'doe', email: 'vitali@gmail.com', sdate: '1/3/2012' },
        { recid: 2, fname: 'Stuart', lname: 'Motzart', email: 'jdoe@gmail.com', sdate: '2/4/2012' },
        { recid: 3, fname: 'Jin', lname: 'Franson', email: 'jdoe@gmail.com', sdate: '4/23/2012' },
        { recid: 4, fname: 'Susan', lname: 'Ottie', email: 'jdoe@gmail.com', sdate: '5/3/2012' },
        { recid: 5, fname: 'Kelly', lname: 'Silver', email: 'jdoe@gmail.com', sdate: '4/3/2012' },
        { recid: 6, fname: 'Francis', lname: 'Gatos', email: 'vitali@gmail.com', sdate: '2/5/2012' }
    ],
    searchData : [
        { field : 'fname', value : 'j', operator : 'contains', type: 'text' }
    ]
});
</textarea>

Even though you created initial search, the user can clear or overwrite it. You can defined some search fields as hidden if you want
to prevent user from messing up your search, or you can add search data into <a class="method" href="w2grid.postData">.postData</a>
object which will get submitted to the server and will not allow user to clear it.
<div style="height: 10px"></div>

The structure of the search object is:
<textarea class="javascript">
search = {
    field    : '',    // search field name
    value    : '',    // string or array of string with values
    operator : 'is',  // search operator [is, in, between, begins with, contains, ends with]
    type     : ''     // data type, [text, int, float, date]
}
</textarea>

You can use <a href="w2grid.search" class="method">.search()</a> method to submit searches.
